package com.jvxb.manage.livable.entity;

import java.io.Serializable;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
/**
 * @author jvxb
 * @since 2022-02-11
 */
@Data
@TableName("redis_support_key")
public class RedisSupportKey implements Serializable {

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @ApiModelProperty(value = "key名称")
    private String keyName;
    @ApiModelProperty(value = "key类型")
    private String keyType;
    @ApiModelProperty(value = "语法校验表达式")
    private String keyPattern;
    @ApiModelProperty(value = "语法")
    private String grammar;

    public static final String ID = "id";

    public static final String KEY_NAME = "key_name";

    public static final String KEY_TYPE = "key_type";

    public static final String KEY_PATTERN = "key_pattern";

    public static final String GRAMMAR = "grammar";

}
